package com.example.a28693.duanshipin.interfaces;

import com.ximalaya.ting.android.opensdk.model.album.Album;
import com.ximalaya.ting.android.opensdk.model.track.Track;

import java.util.List;

public interface IAlbumDetailViewCallBack {
    /**
     * 详情页面加载
     * @param tracks
     */
    void onDetailListLoaded(List<Track> tracks);

    /**
     * 把Album传给UI
     * @param album
     */
    void onAlbumLoaded(Album album);

    //网络错误
    void onNetworkError(int errorCode, String errorMsg);
}
